<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
	<package name="alveole-defaults" extends="struts-default">
		<action name="list" class="Joe.SiteManager.Web.Action.ContentAction" method="list">
            <result>
                /Content/list.jsp
            </result>
        </action>
        <action name="list_*" class="Joe.SiteManager.Web.Action.ContentAction" method="{1}">
            <result name="success">
                /Content/list.jsp
            </result>
            <result name="delete" type="redirect">
                /list.html
            </result>
        </action>
        <action name="edit" class="Joe.SiteManager.Web.Action.ContentAction" method="edit">
            <result name="display">
                /Content/edit.jsp
            </result>
            <result name="success" type="redirect">
            	/list.html
            </result>
        </action>
        <action name="bannerlist" class="Joe.SiteManager.Web.Action.BannerAction" method="list">
            <result>
                /Content/banner_list.jsp
            </result>
        </action>
        <action name="banneredit" class="Joe.SiteManager.Web.Action.BannerAction" method="edit">
            <result name="display">
                /Content/banner_edit.jsp
            </result>
            <result name="success" type="redirect">
            	/bannerlist.html
            </result>
        </action>
        <action name="upload" class="Joe.SiteManager.Web.Action.UploadAction">
            <result>
                /Share/upload.jsp
            </result>
        </action>
	</package>
</struts>
